../5b9ae6deef1543dd175a1c3a-fswatch/source/fswatch.d(304,23): Error: `@safe` destructor `fswatch.FileWatch.~this` cannot call `@system` function `core.sys.linux.sys.inotify.inotify_rm_watch` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/sys/linux/sys/inotify.d(118,5): `core.sys.linux.sys.inotify.inotify_rm_watch` is declared here ../5b9ae6deef1543dd175a1c3a-fswatch/source/fswatch.d(311,31): Error: `@safe` function `fswatch.FileWatch.addWatch` cannot call `@system` function `core.sys.linux.sys.inotify.inotify_add_watch` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/sys/linux/sys/inotify.d(117,5): `core.sys.linux.sys.inotify.inotify_add_watch` is declared here ../5b9ae6deef1543dd175a1c3a-fswatch/source/fswatch.d(328,23): Error: `@safe` function `fswatch.FileWatch.getEvents` cannot call `@system` function `core.sys.linux.sys.inotify.inotify_init1` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/sys/linux/sys/inotify.d(116,5): `core.sys.linux.sys.inotify.inotify_init1` is declared here ../5b9ae6deef1543dd175a1c3a-fswatch/source/fswatch.d(353,36): Error: `this.eventBuffer.ptr` cannot be used in `@safe` code, use `&this.eventBuffer[0]` instead ../5b9ae6deef1543dd175a1c3a-fswatch/source/fswatch.d(359,39): Error: `this.eventBuffer.ptr` cannot be used in `@safe` code, use `&this.eventBuffer[0]` instead ../5b9ae6deef1543dd175a1c3a-fswatch/source/fswatch.d(362,34): Error: template `std.algorithm.searching.countUntil` cannot deduce function from argument types `!((a) => a.wd == info.wd)(FDInfo[])`, candidates are: /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/algorithm/searching.d(768,11): `countUntil(alias pred = "a == b", R, Rs...)(R haystack, Rs needles)` with `pred = __lambda1, R = FDInfo[], Rs = ()` must satisfy the following constraint: ` Rs.length > 0` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/algorithm/searching.d(857,11): `countUntil(alias pred = "a == b", R, N)(R haystack, N needle)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/algorithm/searching.d(916,11): `countUntil(alias pred, R)(R haystack)` with `pred = __lambda1, R = FDInfo[]` must satisfy the following constraint: ` is(typeof(unaryFun!pred(haystack.front)) : bool)` ../5b9ae6deef1543dd175a1c3a-fswatch/source/fswatch.d(378,45): Error: cannot take address of local `dirCheck` in `@safe` function `getEvents` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.